From: Paul Eggert Date: Sun, 3 Nov 1996 17:09:27 +0000 (+0000) Subject: When processing cvs log output, remove `Attic/' from repository file names. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~82564 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7e02c4ddef547e171dd5e81682b705930311b7fd;p=emacs.git When processing cvs log output, remove `Attic/' from repository file names. --- diff --git a/lib-src/rcs2log b/lib-src/rcs2log index e68c5616e22..44a12bd3da8 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log @@ -12,7 +12,7 @@ # Author: Paul Eggert -# $Id: rcs2log,v 1.33 1996/10/12 17:24:45 eggert Exp eggert $ +# $Id: rcs2log,v 1.34 1996/10/13 05:59:42 eggert Exp eggert $ # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. @@ -454,6 +454,11 @@ $AWK <$rlogout ' if (filename ~ /,v$/) { filename = substr(filename, 1, length(filename) - 2) } + if (filename ~ /(^|\/)Attic\/[^\/]*$/) { + i = length(filename) + while (substr(filename, i, 1) != "/") i-- + filename = substr(filename, 1, i - 6) substr(filename, i + 1) + } } rev = "?" }